package com.gopay.solution.domain.po;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * 方案类型po
 * 
 * @SolutionType.java
 * @author MA HUAN
 * @2013-3-22 下午4:57:02 www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "DIC_SOLUTION_TYPE")
public abstract class SolutionType extends BaseEntity {

    private static final long serialVersionUID = 4311507565661861222L;

    /**
     * 方案类型代码
     */
    private String code;

    /**
     * 方案类型名称
     */
    private String name;

    /**
     * 删除标志
     */
    private long delFlag;

    /**
     * 方案分类备注1
     */
    private String remark1;

    /**
     * 方案分类备注2
     */
    private String remark2;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 最后更新时间
     */
    private Date lastUpdTime;

    /**
     * 最后修改交易码
     */
    private String lastUpdTranCode;

    @Id
    @Column(name = "CODE", unique = true, nullable = false, length = 10)
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Column(name = "NAME", nullable = false, length = 100)
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Column(name = "DEL_FLAG", nullable = false, precision = 22, scale = 0)
    public long getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(long delFlag) {
        this.delFlag = delFlag;
    }

    @Column(name = "REMARK1", nullable = true, length = 200)
    public String getRemark1() {
        return remark1;
    }

    public void setRemark1(String remark1) {
        this.remark1 = remark1;
    }

    @Column(name = "REMARK2", nullable = true, length = 200)
    public String getRemark2() {
        return remark2;
    }

    public void setRemark2(String remark2) {
        this.remark2 = remark2;
    }

    @Column(name = "CREATED_TS", nullable = false)
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Column(name = "LAST_UPD_TS", nullable = false)
    public Date getLastUpdTime() {
        return lastUpdTime;
    }

    public void setLastUpdTime(Date lastUpdTime) {
        this.lastUpdTime = lastUpdTime;
    }

    @Column(name = "LAST_UPD_TRANCODE", nullable = true, length = 10)
    public String getLastUpdTranCode() {
        return lastUpdTranCode;
    }

    public void setLastUpdTranCode(String lastUpdTranCode) {
        this.lastUpdTranCode = lastUpdTranCode;
    }

}
